package com.ruoyi.gis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统图层对象 gis_layer_base
 *
 * @author rww
 * @date 2023-11-16
 */
public class GisLayerBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long layerId;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 图层名称 */
    @Excel(name = "图层名称")
    private String layerName;

    /** 图层类型 */
    @Excel(name = "图层类型")
    private String layerType;

    /** crs */
    @Excel(name = "crs")
    private String crs;

    /** 边界区域 */
    @Excel(name = "边界区域")
    private String boundary;

    /** 图层显示名称 */
    @Excel(name = "图层显示名称")
    private String layerTitle;

    /** 工作区 */
    @Excel(name = "工作区")
    private String workspace;

    /** 图层存储 */
    @Excel(name = "图层存储")
    private String store;

    /** 图层样式 */
    @Excel(name = "图层样式")
    private String layerStyle;

    /** 图层服务地址 */
    @Excel(name = "图层服务地址")
    private String sourceUrl;

    /** 祖级列表 */
    @Excel(name = "祖级列表")
    private String ancestors;

    /** 父id */
    @Excel(name = "父id")
    private Long parentId;

    /** 分组：1：组  2：图层 */
    @Excel(name = "分组：1：组  2：图层")
    private Integer group;

    /** VECTOR  RASTER  application/vnd.mapbox-vector-tile */
    @Excel(name = "VECTOR  RASTER  application/vnd.mapbox-vector-tile")
    private String sourceType;

    /** image/png   */
    @Excel(name = "image/png  ")
    private String sourceFormat;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 颜色 */
    @Excel(name = "颜色")
    private String layerColor;

    /** 服务地址 */
    @Excel(name = "服务地址")
    private String endpoint;

    /** 透明度 */
    @Excel(name = "透明度")
    private Double layerOpacity;

    /** 线宽度 */
    @Excel(name = "线宽度")
    private Double layerWidth;

    /** 符号化配置 */
    @Excel(name = "符号化配置")
    private String symbolization;

    /** 储存类型 */
    @Excel(name = "储存类型")
    private String storeType;

    /** 最大缩放级别 */
    @Excel(name = "最大缩放级别")
    private Integer maxZoom;

    /** 最小缩放级别 */
    @Excel(name = "最小缩放级别")
    private Integer minZoom;

    /** 密钥 */
    @Excel(name = "密钥")
    private String token;

    /** 地址 */
    @Excel(name = "地址")
    private String url;

    /** 地图分组： 天地图  google  百度  高德 */
    @Excel(name = "地图分组： 天地图  google  百度  高德")
    private String mapGroup;

    private Boolean checked;//

    /** 类型： */
    @Excel(name = "类型")
    private String type;//image  electron  dem

    private String load;//


    public String getLoad() {
        return load;
    }

    public void setLoad(String load) {
        this.load = load;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public void setLayerId(Long layerId)
    {
        this.layerId = layerId;
    }

    public Long getLayerId()
    {
        return layerId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setLayerName(String layerName)
    {
        this.layerName = layerName;
    }

    public String getLayerName()
    {
        return layerName;
    }
    public void setLayerType(String layerType)
    {
        this.layerType = layerType;
    }

    public String getLayerType()
    {
        return layerType;
    }
    public void setCrs(String crs)
    {
        this.crs = crs;
    }

    public String getCrs()
    {
        return crs;
    }
    public void setBoundary(String boundary)
    {
        this.boundary = boundary;
    }

    public String getBoundary()
    {
        return boundary;
    }
    public void setLayerTitle(String layerTitle)
    {
        this.layerTitle = layerTitle;
    }

    public String getLayerTitle()
    {
        return layerTitle;
    }
    public void setWorkspace(String workspace)
    {
        this.workspace = workspace;
    }

    public String getWorkspace()
    {
        return workspace;
    }
    public void setStore(String store)
    {
        this.store = store;
    }

    public String getStore()
    {
        return store;
    }
    public void setLayerStyle(String layerStyle)
    {
        this.layerStyle = layerStyle;
    }

    public String getLayerStyle()
    {
        return layerStyle;
    }
    public void setSourceUrl(String sourceUrl)
    {
        this.sourceUrl = sourceUrl;
    }

    public String getSourceUrl()
    {
        return sourceUrl;
    }
    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }

    public String getAncestors()
    {
        return ancestors;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setGroup(Integer group)
    {
        this.group = group;
    }

    public Integer getGroup()
    {
        return group;
    }
    public void setSourceType(String sourceType)
    {
        this.sourceType = sourceType;
    }

    public String getSourceType()
    {
        return sourceType;
    }
    public void setSourceFormat(String sourceFormat)
    {
        this.sourceFormat = sourceFormat;
    }

    public String getSourceFormat()
    {
        return sourceFormat;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setLayerColor(String layerColor)
    {
        this.layerColor = layerColor;
    }

    public String getLayerColor()
    {
        return layerColor;
    }
    public void setEndpoint(String endpoint)
    {
        this.endpoint = endpoint;
    }

    public String getEndpoint()
    {
        return endpoint;
    }
    public void setLayerOpacity(Double layerOpacity)
    {
        this.layerOpacity = layerOpacity;
    }

    public Double getLayerOpacity()
    {
        return layerOpacity;
    }
    public void setLayerWidth(Double layerWidth)
    {
        this.layerWidth = layerWidth;
    }

    public Double getLayerWidth()
    {
        return layerWidth;
    }
    public void setSymbolization(String symbolization)
    {
        this.symbolization = symbolization;
    }

    public String getSymbolization()
    {
        return symbolization;
    }
    public void setStoreType(String storeType)
    {
        this.storeType = storeType;
    }

    public String getStoreType()
    {
        return storeType;
    }
    public void setMaxZoom(Integer maxZoom)
    {
        this.maxZoom = maxZoom;
    }

    public Integer getMaxZoom()
    {
        return maxZoom;
    }
    public void setMinZoom(Integer minZoom)
    {
        this.minZoom = minZoom;
    }

    public Integer getMinZoom()
    {
        return minZoom;
    }
    public void setToken(String token)
    {
        this.token = token;
    }

    public String getToken()
    {
        return token;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setMapGroup(String mapGroup)
    {
        this.mapGroup = mapGroup;
    }

    public String getMapGroup()
    {
        return mapGroup;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("layerId", getLayerId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("layerName", getLayerName())
            .append("layerType", getLayerType())
            .append("crs", getCrs())
            .append("boundary", getBoundary())
            .append("layerTitle", getLayerTitle())
            .append("workspace", getWorkspace())
            .append("store", getStore())
            .append("layerStyle", getLayerStyle())
            .append("sourceUrl", getSourceUrl())
            .append("ancestors", getAncestors())
            .append("parentId", getParentId())
            .append("group", getGroup())
            .append("sourceType", getSourceType())
            .append("sourceFormat", getSourceFormat())
            .append("sort", getSort())
            .append("layerColor", getLayerColor())
            .append("endpoint", getEndpoint())
            .append("layerOpacity", getLayerOpacity())
            .append("layerWidth", getLayerWidth())
            .append("symbolization", getSymbolization())
            .append("storeType", getStoreType())
            .append("maxZoom", getMaxZoom())
            .append("minZoom", getMinZoom())
            .append("token", getToken())
            .append("url", getUrl())
            .append("mapGroup", getMapGroup())
            .append("type", getType())
            .toString();
    }
}
